.chat--box {
  width: 100vw;
  height: 100vh;
  display: flex;
  .chat--box__left {
    width: 50px;
    height: 100%;
    background-color: #000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    .box--left__top {
      display: flex;
      flex-direction: column;
      img {
        width: 30px;
        height: 30px;
        margin: 10px 5px;
      }
    }
    .box--left__bottom {
      display: flex;
      flex-direction: column;
      img {
        width: 30px;
        height: 30px;
        margin: 10px 5px;
      }
    }
  }
  .chat--box__main {
    width: 400px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    .box--main__top {
      width: 100%;
      height: 50px;
      input {
        height: 50px;
        width: 100%;
        border: 1px solid rgb(165, 171, 171);
        box-sizing: border-box;
        font-size: 24px;
        font-weight: 400;
        outline: none;
        transition: all 0.3s ease;
        &:focus {
          border: 2px solid rgb(133, 128, 128);
          padding-left: 20px;
          box-shadow: 0 0 10px rgba(134, 136, 138, 0.5);
        }
      }
    }
    .box--main__buttom {
      width: 100%;
      flex-grow: 1;
      box-sizing: border-box;
      overflow-y: scroll;
      &::-webkit-scrollbar {
        width: 8px;
      }
      &::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
      }
      &::-webkit-scrollbar-thumb {
        background: #1576e4b1;
        border-radius: 4px;
      }
      .boxdata--list {
        width: 100%;
        height: 60px;
        background-color: #fff;
        border-bottom: 1px solid rgb(163, 158, 159);
        box-sizing: border-box;
        position: relative;
        cursor: pointer;
        &:hover {
          background-color: #b4b3b365;
        }
        img {
          width: 40px;
          height: 40px;
          overflow: hidden;
          position: absolute;
          top: 5px;
          left: 2px;
        }
        .list--title {
          font-size: 16px;
          position: absolute;
          left: 45px;
          top: 7px;
          color: skyblue;
        }
        .list--subtitle {
          font-size: 10px;
          position: absolute;
          left: 45px;
          bottom: 10px;
          color: #898282;
        }
        .list--subtime {
          font-size: 10px;
          position: absolute;
          top: 10px;
          right: 5px;
          color: #898282;
        }
      }
    }
  }

}
